import request from '@/utils/request'

/**
 * AI 应用调试
 *
 * @param appId 应用 id
 * @param question 用户提问
 * @returns
 */
export const appDebug = (appId: string, question: string) => {
  return request({
    url: `/v1/app/${appId}/debug`,
    method: 'POST',
    data: {
      question
    }
  })
}
